package com.hp.appfw.data.mapper.mygen;

import com.hp.appfw.data.mode.mygen.SurveyInstance;
import com.hp.appfw.data.mode.mygen.SurveyInstanceExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SurveyInstanceMapper {
    int countByExample(SurveyInstanceExample example);

    int deleteByExample(SurveyInstanceExample example);

    int deleteByPrimaryKey(String id);

    int insert(SurveyInstance record);

    int insertSelective(SurveyInstance record);

    List<SurveyInstance> selectByExample(SurveyInstanceExample example);

    SurveyInstance selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") SurveyInstance record, @Param("example") SurveyInstanceExample example);

    int updateByExample(@Param("record") SurveyInstance record, @Param("example") SurveyInstanceExample example);

    int updateByPrimaryKeySelective(SurveyInstance record);

    int updateByPrimaryKey(SurveyInstance record);
}